package cn.com.fy.service.impl;



import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


import cn.com.fy.mapper.PlaceNameFyMapper;
import cn.com.fy.pojo.PlaceNameFy;
import cn.com.fy.service.PlaceNameFyService;
@Service
public class PlaceNameFyServiceImpl implements PlaceNameFyService{

	@Autowired
	private PlaceNameFyMapper placeNameFyMapper;
	
	@Override
	public void save(List<PlaceNameFy> placeNameFy){
		// TODO Auto-generated method stub
//		placeNameFyMapper.insertList(placeNameFy);
		placeNameFyMapper.insertList(placeNameFy);
	}

	@Override
	public void savePlace(PlaceNameFy placeNameFy){
		// TODO Auto-generated method stub
		placeNameFyMapper.insert(placeNameFy);
	}

	@Override
	public List<PlaceNameFy> findTranslate(String area, String language) {
		// TODO Auto-generated method stub
		return placeNameFyMapper.findTranslate(area, language);
	}

	@Override
	public List<PlaceNameFy> findAll() {
		// TODO Auto-generated method stub
		return placeNameFyMapper.selectAll();
	}

	

	

}
